GtkAboutDialog: Fix some focus issues
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 May 2015 14:26:07 +0000 (10:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 May 2015 15:55:57 +0000 (11:55 -0400)
Making a container focusable is rarely the right thing to do.
It typically breaks the focus chain, and makes the container
contents unfocusable, as was the case here.

gtk/ui/gtkaboutdialog.ui

index cc75d77b1894d46b4a47a6bef7d4219603ec871a..8e27a447b9c29847a1ce6f32ac8e58e3cd7d7c23 100644 (file)
@@ -68,7 +68,6 @@
                 <property name="width_request">400</property>
                 <property name="height_request">100</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
                 <property name="homogeneous">True</property>
                 <property name="transition-type">over-up-down</property>
                 <property name="transition-duration">600</property>
                     <child>
                       <object class="GtkScrolledWindow" id="scrolledwindow1">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
                         <property name="hscrollbar_policy">never</property>
                         <property name="shadow_type">in</property>
                         <child>
                     <child>
                       <object class="GtkScrolledWindow" id="scrolledwindow2">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
                         <property name="hscrollbar_policy">never</property>
                         <property name="shadow_type">in</property>
                         <child>
                           <object class="GtkTextView" id="license_view">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
                             <property name="editable">False</property>
                             <property name="left_margin">8</property>
                             <property name="right_margin">8</property>